<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="demo">
        <div>{{msg1}}</div>
        <div>{{msg2}}</div>
        <button @click="test">test</button>
    </div>
    <script>
        debugger

    </script>
    <script src="./vue.runtime.js"></script>
    <script>
        // # sourceMappingURL=vue.js.map
        let vm = new Vue({
            data: {
                msg1: ['hello', 'ddd'],
                msg2: 'zzh',
            },
            render(h) {
                return h('div', this.msg2)
            },
            created: function() {
                this.msg1.push('new add')
            },
            methods: {
                test() {
                    this.msg2 = 'hong'
                }
            },
        })
        vm.$mount('#demo')
        console.log(vm);
    </script>
    <script>

    </script>
</body>

</html>